package com.taiyo.modules.api.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.taiyo.modules.api.dao.TFeedbackDao;
import com.taiyo.modules.api.entity.TFeedbackEntity;
import com.taiyo.modules.api.service.TFeedbackService;



@Service("tFeedbackService")
public class TFeedbackServiceImpl implements TFeedbackService {
	@Autowired
	private TFeedbackDao tFeedbackDao;
	
	@Override
	public TFeedbackEntity queryObject(Integer id){
		return tFeedbackDao.queryObject(id);
	}
	
	@Override
	public List<TFeedbackEntity> queryList(Map<String, Object> map){
		return tFeedbackDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return tFeedbackDao.queryTotal(map);
	}
	
	@Override
	public void save(TFeedbackEntity tFeedback){
		tFeedbackDao.save(tFeedback);
	}
	
	@Override
	public void update(TFeedbackEntity tFeedback){
		tFeedbackDao.update(tFeedback);
	}
	
	@Override
	public void delete(Integer id){
		tFeedbackDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		tFeedbackDao.deleteBatch(ids);
	}
	
}
